package com.ServiceImpl.Admin;

import com.Model.Admin.Author;
import com.Service.Admin.AuthourService;
import com.ServiceImpl.BaseSevice;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

@Service
public class AuthourServiceImpl extends BaseSevice<Author> implements AuthourService {
    @Override
    public List<HashMap<String, Object>> getAllPerm() {
        List<HashMap<String, Object>> lst = this.getAllPerm();
        return lst;
    }

    @Override
    public List<HashMap<String, Object>> getPermByRole(String roleId) {
        List<HashMap<String, Object>> lst = this.getPermByRole(roleId);
        return lst;
    }
}
